home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / hdf / hdf.lha / RDME_HDF.AMI < prev   
Encoding:
Text File  |  1980-02-06  |  1.7 KB  |  61 lines

  1. 2/1/91
  2.  
  3. Richard Gerber, who is in the Physics Department at the University
  4. of Illinois, has ported much of HDF to an Amiga, and is sharing
  5. with us the changes tht he had to make.  He used HDF 3.1 release 2.
  6.  
  7. In addition to the files here, you will need to 
  8. copy the following files from the HDF/src directory:
  9.  
  10.     df.c
  11.     dfan.c
  12.     dfcomp.c
  13.     dfgroup.c
  14.     dfkit.c
  15.     dfp.c
  16.  
  17. Everything in this directory, including the rest of the README file,
  18. is from Richard.  Thank you, Richard.
  19.  
  20. ============================================================
  21.  
  22. This is my most recent effort on building the HDF library on my
  23. A2000HD using SAS/C 5.10a. I was having a problem with SAS/C 5.10
  24. converting all floats to doubles when making calls to the library
  25. functions. The SAS patch to 5.10a fixed this problem, but requires 
  26. the use of function prototypes.
  27. So, I typed up a list of prototypes for most of the HDF library
  28. functions. These are in the file dfproto.h. I had to change how
  29. other include files called yet other include files, etc. 
  30.  
  31. This directory contains the source for the code I am currently using.
  32. As far as I can tell, everything works fine. I transfer HDF files
  33. written on the Cray-2 to my Amiga and read them with no problems.
  34.  
  35. Manx C users: I have heard that the original NCSA source compiles fine
  36. with your compiler (Lucky you!). So just use the original source.
  37.  
  38.  
  39.  
  40. To build the library I:
  41.  
  42. (1) lc -b0 -ci -ca -fi -dSUN -dFUNC_CONV file.c
  43.  
  44. on all the source files.
  45.  
  46. These mean:
  47. -b0 large data model
  48. -ca full ANSI compatibility
  49. -fi use Amiga IEEE math libraries
  50. -ci no multiple includes
  51.  
  52.  
  53. (2) oml HDF.lib A file.o
  54.  
  55. on all the object files that result from doing (1) above.
  56.  
  57. Suggestions/comments etc.:
  58. gerber@rigel.astro.uiuc.edu
  59. u12696@u2.ncsa.uiuc.edu
  60.  
  61.